<?php
// database host
$db_host   = "localhost:3306";

// database name
$db_name   = "ecshop";

// database username
$db_user   = "root";

// database password
$db_pass   = "";

// table prefix
$prefix    = "ecs_";

$timezone    = "UTC";

$cookie_path    = "/";

$cookie_domain    = "";

$session = "1440";

define('EC_CHARSET','utf-8');

define('ADMIN_PATH','admin');

define('AUTH_KEY', 'this is a key');

define('OLD_AUTH_KEY', '');

define('API_TIME', '2011-04-29 07:47:06');

//网站域名
$cfg['domain'] = 'http://127.0.0.1/ecshop';

//发短信帐号
//$cfg['sms']['gw_url'] = 'http://sdkhttp.eucp.b2m.cn/sdk/SDKService?wsdl';
//$cfg['sms']['serial'] = '0SDK-EMY-0130-LEWOO';
//$cfg['sms']['passwd'] = '472626';
//$cfg['sms']['key'] = '147258';

//发短信
$cfg['sms']['gw_url'] = 'http://sdkhttp.eucp.b2m.cn/sdk/SDKService?wsdl';
$cfg['sms']['serial'] = '0SDK-ESH-0130-KHTSN';
$cfg['sms']['passwd'] = '262132';
$cfg['sms']['key'] = '138620';

//商品类型(这个要根据实际数据库的id来配置)

$cfg['goods_type'][1] = array(
	'name'=>'连心卡',
	'pay_type'=>array(2,3),
	'wl_type'=>array()
);
$cfg['goods_type'][2] = array(
	'name'=>'电子凭证',
	'pay_type'=>array(2,3),
	'wl_type'=>array()
);
$cfg['goods_type'][3] = array(
	'name'=>'实物产品',
	'pay_type'=>array(2,3),
	'wl_type'=>array(1,3)
);

//支付配置
$pay_type[1] = array(2,3);
$pay_type[2] = array(1,2);
$pay_type[3] = array(2,3);

//物流配置
$wl_type[1] = array(1,2,3);
$wl_type[2] = array(1,3);
$wl_type[3] = array(1,2);

?>